/*
 * BanBu_NameAndSexController
 * @description 本文件提供个人空间个人资料修改名称和性别的ViewController
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供个人空间个人资料修改名称和性别的ViewController
 */

#import <UIKit/UIKit.h>
#import "BanBu_TextEditer.h"
typedef enum {
    NameAndSexViewFullType = 0,
    NameAndSexViewNameOnlyType
} NameAndSexViewType;
@class SVSegmentedControl;
@interface BanBu_NameAndSexController : UITableViewController<UIAlertViewDelegate,UITextFieldDelegate,BanBu_TextEditerDelegate>
{
    UITextField *_nameField;
    SVSegmentedControl *_sexSeg;
}

@property(nonatomic, assign)NameAndSexViewType viewType;
@property(nonatomic, retain)NSString *name;
@property(nonatomic, assign)BOOL sex;
@property(nonatomic,assign)id<BanBu_TextEditerDelegate>delegate;
- (id)initWithViewType:(NameAndSexViewType)type;


@end
